package keye.document_manage.service;

import java.util.List;
import java.util.Map;

import keye.document_manage.domain.TableInterfaceListView;
import keye.document_manage.domain.TableInterfaceListViewKey;
import keye.document_manage.entity.Page;
import keye.document_manage.entity.SelectParameters;

public interface ITableInterfaceListViewService {

	TableInterfaceListView getView(TableInterfaceListViewKey key);
	
	List<?> getViews(String tableName);

	Map<String,Object> getList(String tableName);
	
	Map<String,Object> getList(String tableName,Page page);
	
	Map<String,Object> getList(String tableName,List<SelectParameters> selectParas, Page page);

	/**
	 * 自定义查询
	 * @param tableName
	 * @param page
	 * @param where where语句后面的查询条件
	 * @return
	 */
	Map<String,Object> getList(String tableName, List<SelectParameters> selectParas, Page page, String where);
}
